https://github.com/par7133/testpatch
The git patch system, helpful command list by a live example - MIT
https://github.com/par7133/testpatch
commands example git guide help list patch
Last synced: 10 months ago
JSON representation
The git patch system, helpful command list by a live example - MIT
- Host: GitHub
- URL: https://github.com/par7133/testpatch
- Owner: par7133
- License: mit
- Created: 2018-05-28T07:52:06.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2018-05-28T17:40:55.000Z (over 7 years ago)
- Last Synced: 2025-01-12T15:46:04.765Z (12 months ago)
- Topics: commands, example, git, guide, help, list, patch
- Language: PHP
- Homepage: https://5mode.com
- Size: 4.88 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# TestPatch
## DOC
// SETTINGS
git config --global user.name "[YourName]"
git config --global user.email "[YourEmail]"
git config --global core.editor "vi"
// CLONING THE PROJECT
git clone https://github.com/par7133/TestPatch.git
// CHECKING THE REMOTE CONFIGURATION
git remote
// CHECKING GIT STATUS
git status
// DOING SOME CODE CHANGES
// changes..
// COMMIT OF THE CHANGES
git commit -a
(or git commit -a -m 'message text')
// PUSHING CHANGES ONLINE
git push origin master
// APPLYING THE PATCH
git am ./Dumm.2032-05-27.patch
// PUSHING CHANGES ONLINE
git push origin master
// CHECKING HISTORY
git log
// DOING SOME CODE CHANGES #1
// changes..
// DOING SOME CODE CHANGES #2
// changes..
// PRODUCING PATCHES
git format-patch -2 -o /Path/PatchDir
// DOING SOME CODE CHANGES ONLINE, ON THE REMOTE
// changes..
// PULLING THE REMOTE CHANGES
git pull origin master