How To Use Gitlab ?
Gitlab Process
When converting to git you have to get used to the fact that there are three steps before a commit is shared with colleagues. Most version control systems have only one step, committing from the working copy to a shared server
Three steps :-
1. Add file from the working copy to the stage area.
2. The file then will be transfer into the local repo.(repository)
3. Lastly, pushed the file to a shared remote repository.
All of the steps have been explained above. To be more specific :-
1. Start from using Sourcetree, click on the master branch and make a new branch.
2. Any changes on file that you want to make must be at that branch. Make sure to not making any change at master branch.
3. After you have finished make a change, at the new branch click on the file status. Then stage all the file that you have make a change. Then click commit to commit all the file.
4. After that, click push to push all the files to a shared remote repository.
5. Then open your Gitlab, and make a request to merge your branch with the master branch. (merge request)
6. Just wait until your request being approved.
7. If approved, click pushed to pushed the new merge file.
All of the steps have been explained above. To be more specific :-
1. Start from using Sourcetree, click on the master branch and make a new branch.
2. Any changes on file that you want to make must be at that branch. Make sure to not making any change at master branch.
3. After you have finished make a change, at the new branch click on the file status. Then stage all the file that you have make a change. Then click commit to commit all the file.
4. After that, click push to push all the files to a shared remote repository.
5. Then open your Gitlab, and make a request to merge your branch with the master branch. (merge request)
6. Just wait until your request being approved.
7. If approved, click pushed to pushed the new merge file.
No comments:
Post a Comment