Showing all posts tagged: git


git  version control 

If you've commited some changes in git to the wrong branch, but haven't pushed, use the git reset --soft command to move your changes to the correct branch.

Read 2020-02-06

linux  git 

How to convert a separate (non-master) branch to the master branch in git while retaining history.

Read 2016-08-27

git  version control 

How to discard local changes in a git repository and sync local branch with HEAD (overwriting all local changes).

Read 2016-08-02

Github  git  version control 

Github error when running `git pull origin master`: 'fatal: Couldn't find remote ref master'

Read 2020-10-08

git  version control  git log 

Inspect a file's history, hash, commit info, diffs, etc. for a specific file in git

Read 2021-07-12