clock  Mon - Sun 8.00 AM - 8.00 PM
mail  edu@teknowize.com
fb
instagram
play store
pinterest

How to push a file or folder to the remote branch using 'git push'

  Hariom Prajapati
  20 Aug 2022
  Git
Imperial Advance Hero Image

How to push a file or folder to the remote branch using 'git push'

In this tutorial we will see how to push locally commited files or folders to the remote branch using git push.

git push always push locally committed files or folder to selected branch.

Note: Always check status of edited file or folder and current selected branch using git status. We will learn how to create new branch or how to switch existing branch using git checkout in another tutorial.

 

Push all commited file or folder to the remote branch using git push

git push origin selected_branch_name

Git Push

After this your file or folder pushed to the remote branch.