summitech / gitexplorer

Find the right git commands without digging through the web.
MIT License
1.84k stars 160 forks source link

Suggestion: Create a branch from another branch #27

Closed yasin3061 closed 5 years ago

yasin3061 commented 5 years ago

It will be good to have a command to create a branch from another branch (apart from the currently checked out branch).

git checkout -b myFeature dev

moizKachwala commented 5 years ago

@FatimahSanni Not able to push branch for pull request. error code 403

setnemo commented 5 years ago

@moizKachwala

  1. Fork
  2. clone you fork
  3. git checkout -b myFeature
  4. magic
  5. git add
  6. git commit -m 'my magic'
  7. git push
  8. create PR from your-fork/myFeature to origin/master