Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Git Command
- - Server Clone Project
- - Default Set Branch Clone Code
- "git clone https://USERNAME:PASSWORD@bitbucket.org/repository/project.git ."
- "git clone -b branch-name https://USERNAME:PASSWORD@github.com/user/repository.git ."
- - Specific Branch Clone
- "git clone -b feature-branch https://USERNAME:PASSWORD@bitbucket.org/repository/project.git ."
- (optinal for not selected branch)
- - Set Branch
- "git checkout branch_name"
- - Fetch Latest Code From development Branch
- "git pull origin development"
- - install vendon folder
- "composer install"
- - If Server File Changes And Not Get Pull From Branch Then Use
- "git stash"
- - Update Another User in Server
- "git remote set-url origin https://bitbucket.org/new_user/repository_name.git"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement