Linux Git Commands
Push local modification to server
Solution to ERROR: “fatal: The remote end hung up unexpectedly
Undo last two commits which not pushed yet(Caution: this will also delete relevant local files)
Undo commit, also roll-back codes to previous commit
Undo commit, but won’t undo local codes modification
Can re-commit local changes by “git commit”:
Only view how many non-pushed commits
Only view comments/descriptions of non-pushed commits
View detailed informations of non-pushed commits
Find id of last commit
Clone a particular version of commit-id
After git clone the newest repo:
Convert that repo to my forked repo (stay tuned..)
Clone a specific Git branch
Example:
Clone a Fast R-CNN COCO branch:
Save git username/password on Git for Windows
Create .git-credentials to save git username/password:
Re-run git bash.
One way to address SSL certificate problem
SSL certificate problem:
The easiest way is to disable the SSL CERT verification:
For one repository only: