Skip to content

gk1041/git-practice

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

git-practice

Dummy repo to practice or test git stuff

Creating a new branch

NOTE: use upstream instead of origin if forked

git fetch origin

git checkout origin/master

git checkout -b "new-feature-name"

Rebase to get updates from origin

git fetch origin

git rebase -i origin/master

git push origin "feature-branch-name" -f

Git Stashing

To list stashes

git stash list

To apply specific stash

git stash apply stash@{0}

To drop specific stash

git stash drop stash@{0}

About

Dummy repo to practice or test git stuff

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published