Git: Update folder

PHOTO EMBED

Mon Aug 29 2022 18:26:07 GMT+0000 (Coordinated Universal Time)

Saved by @marcopinero #bash

# go to path where .git is

# new branch:

$> git checkout -b "<name_of_new_branch>"

# change branch:

$> git checkout "<name_of_branch>"



$> git add <folder1> ... <foldern>

$> git commit -m "<commentn>"
    
#example: <branch> = main:

$> git push origin <branch>

#---------------------------------------------------------

# download last changes from branch:

$> git pull origin <branch>
content_copyCOPY

Update specific folder at git project