Git commands for development workflow

1. checkout remote dev branch to local git checkout -b local_dev_branch origin/dev 2. after modified, submit to local, the example shows submit modified java files. git commit -m *.java “modified java files” 3. after submit code in local, you can submit own branch to remote, the branch name can be same with local branch name […]

Read More

DevOps Git Operations: create new branch and merge to remote

DevOps Git to manage branch This is supposed as development/test operations. For a research team, suppose to make a new branch to test/development, but not master branch instead, create and merge for steps below: # clone remote git branch git clone –single-branch -b remote-branch-name https://github…/remote.git #check current branch if remote-branch-name git branch #create new branch […]

Read More