File: git.txt

package info (click to toggle)
bbmap 39.20%2Bdfsg-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 26,024 kB
  • sloc: java: 312,743; sh: 18,099; python: 5,247; ansic: 2,074; perl: 96; makefile: 39; xml: 38
file content (15 lines) | stat: -rwxr-xr-x 752 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
This is an example of updating the repository with nonconflicting changes.

First, ensure the correct branch is active: git checkout dev
Ensure everything looks correct: git status
Update: git pull origin dev
Add the new files: git add .
Commit changes: git commit -m 'changes go here'
Push: git push origin dev
Checkout master: git checkout master
Merge changes: git merge dev
Ensure everything looks correct: git status
Tag the new version: git tag -a v38.21 -m 'Version 38.21'
Push the changes: git push origin master --tags
Switch back to dev: git checkout dev
Compiled code (.class files, etc) are ignored in this repo; when Jenkins sees the push, it will recompile everything, using the Eclipse JDK, which produces faster bytecode than Oracles.