Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- git cherry-picking
- git branch = shows available branches sometime it shows no branch
- if so
- git branch (branch you want same as github one or branch name you want to make )
- now you need to get on that branch
- git checkout (name of branch you just created it switche between branches)
- now we need their source so it knows where to pick from
- git fetch (same url you clone from )
- then we need the commit we want
- git cherry-pick (SHA) = example sha 67418cf69b21071bc0e45c5299fe61f48c93bbd2
- git cherry-pick 67418cf69b21071bc0e45c5299fe61f48c93bbd2
- git log = shows commits previous and most recent
- q is to quit on git log
- sadly we arent ready to discuss the hard part
- i rarely solve errors unless i really want it lol
- so
- git cherry-pick --abort = bye bye commit to0 much work lets find something else
- lets commit because it wouldnt tell me why it failed
- git add -A = add all files we messed with
- git commit -a - well lol commit all files
- this thing you are seeing is called vim
- i = insert used for editing word
- :q = quit
- :w = write commit
- esc= well so you can use other commands its like a middle ground between them that really isnt important since im not commiting an errorm i just needed to see the files it messed with
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement