-
-
Notifications
You must be signed in to change notification settings - Fork 1k
Git and GitHub
ravas edited this page Oct 10, 2016
·
9 revisions
Windows 7+ or OS X 10.9+
- Make a Github account.
- Download GitHub Desktop.
- Use the button at the top of this page to fork the repository.
- On your fork"s main page find the icon that looks like a monitor with a downward arrow
(tooltip: "Save username/LibreCAD to your computer and use it in GitHub Desktop"). - Clone the repository in the folder you prefer (you could make a "repositories" folder).
- Make your desired modifications
- Create a commit using GitHub Desktop and then press the sync button.
- Go to the LibreCAD/LibreCAD repository and press the "New pull request" button.
General
- fork using the button at the top right of this page
- clone your new fork in the folder of your choice (e.g. repositories) using a terminal:
cd your_repositories
git clone https://github.com/your_github_username/LibreCAD.git
- create a new branch to work in:
git checkout -b your_branch
- set your email the same as on github https://help.github.com/articles/setting-your-email-in-git/
- make changes and create a commit with something like https://git-cola.github.io/
- push your commit to the repository
cd path_to_clone
&&git push
- submit a pull request
Keep your master branch synced!
- https://help.github.com/articles/configuring-a-remote-for-a-fork/
- https://help.github.com/articles/syncing-a-fork/
Additional information:
- https://githowto.com/
- https://git-scm.com/downloads/guis
- https://help.github.com/articles/fork-a-repo/
- https://git-scm.com/book/en/v2/Git-Basics-Getting-a-Git-Repository
- https://git-scm.com/book/en/v2/Git-Basics-Recording-Changes-to-the-Repository
- https://help.github.com/articles/syncing-a-fork/
- https://help.github.com/articles/using-pull-requests/
- http://stackoverflow.com/tags/git/info
- https://git-scm.com/book/en/v1/Git-Tools-Stashing
- https://services.github.com/kit/downloads/github-git-cheat-sheet.pdf
- https://services.github.com/classnotes/