Enhancing your Programming efficiency with Advanced Git Commands 

Advanced Git programming for proper SCM 

git commit —amend

git rebase

Credit: https://www.atlassian.com/git/tutorial/rewriting-git-history#!rebase

git stash

$ git stash list
stash@{0}: WIP on master: 049d078 added the index file
stash@{1}: WIP on master: c264051 Revert "added file_size"
stash@{2}: WIP on master: 21d80a5 added number to log
$ git stash apply
# On branch master # Changes not staged for commit: # (use “git add <file>…” to update what will be committed) # # modified: index.html # modified: lib/simplegit.rb #
$ git stash branch TestChanges

Senior DevOps Engineer @ Sharkmob & Fan of all things Golang/Typescript ❤

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store