Use Git
Initialisation
Clone a repository
# for http-based
git clone https://[email protected]/zephinzer/blog.joeir.net
# for ssh-based
git clone ssh://[email protected]/zephinzer/blog.joeir.netCreate a new repository
git initRemote management
Add a Git remote
Update the Git remote
Retrieving changes
Fetch changes
Merge changes
Pull changes
Pull with Rebase
Rebase
Saving changes
Stashing
Staging
Commiting
Commiting without any changes
Modifying changes
Adding a file to a previous commit
Squash commit
Squashing till origin/master/HEAD
Uncommit last commit
Reverting a commit
Submitting changes
Pushing
Force Pushing
Assessing changes
View all current changes
View commit history
View difference between commits
Viewing repository information
View the Git configuration
Check which branch you're on
See all remotes
Checking which .gitignore is ignoring a file
.gitignore is ignoring a fileRepository adminstration
Creating a new branch from an existing one
Deleting a local branch
Deleting a remote branch
Deleting local remote branches that have been deleted remotely
Last updated