Tool Helppage (Git, waffle, Travis) - SoPra18-07/Singularity GitHub Wiki
server based VCS backend with issue-tracker, wiki and more.
How to use: (can be somehow integrated to Visual Studio, more information here later)
Usually you start like this:
$ git clone <repo>
Example:
$ git clone https://github.com/SoPra18-07/Singularity
This will clone the repository on the url in a local folder called , here Singularity
.
Then, enter the directory:
$ cd <projectname>
Here you can always see what files have been changed or modified since the last commit:
$ git status
You can change the branch like this:
$ git checkout <branchname>
(you might have to make '<branchname>'
if you have symbols like '#'
in your branchname)
If you have added or modified files, you can add them like this:
$ git add <filenames>
Now you can make a commit including the changes you added:
$ git commit -m "commitmessage"
If no commitmessage is given or -m
is not used, you will be prompted in your default commandline-editor (usually nano or vim or the like) to enter a commitmessage.
Now your changes are locally saved, if it's on a branch someone else might have changed something before, do the following:
$ git pull -r --all
Now you can push your changes (make them online)
$ git push
Here you're likely to be asked for your username and password for github (or whereever the source is).
More information can be found here: https://guides.github.com/activities/hello-world/ (here a commit is directly pushed, and it's shown how it works in the webinterface, it works the same everywhere in general)
More details: https://guides.github.com/introduction/git-handbook/
Takes part in the workflow at Issue creation More information for correct usage: https://help.waffle.io/automatic-work-tracking/auto-work-tracking-basics/recommended-workflow-using-pull-requests-automatic-work-tracking
General information about what Travis is: https://docs.travis-ci.com/user/for-beginners In short: it'll automatically build more or less everything and tells everyone if it works or not.