Skip to content
Navigation Menu
Sign in
Products
Platform
GitHub
Repository hosting, code review, and collaboration
Copilot
AI coding agent for tasks, projects, and automated work
Build & Ship
Actions
CI/CD and automation
Code Quality
Quality analysis, fixes, and enforcement
Codespaces
Cloud development environments
Secure
Code Security
Vulnerability detection and remediation
Secret Protection
Secret scanning and leak prevention
All Features
Developers
Learn
Documentation
Training
Certifications
Build
Build with Copilot
Customize Copilot
Integrations
Explore
Trending repos
GitHub Sponsors
Developer articles
Changelog
Changelog
Your source for the latest features, improvements, and fixes across GitHub products, all in one place.
Businesses
By Stage
Enterprises
Team
Startups
Nonprofits
By Industry
Healthcare
Financial services
Manufacturing
Government
See all industries
Evaluate GitHub
Why GitHub
Customer Stories
Business insights
Trust Center
Add-ons
GitHub Advanced Security
Enterprise-grade code security
Copilot for business
Enterprise-grade AI features
Premium Support
Enterprise-grade 24/7 support
Resources
Learn & Connect
Documentation
Resource center
Blog
Events & webinars
Community Forum
Customer Stories
Integrations
Support
Customer support
Training
GitHub Status
Company
About
Partners
Changelog
GitHub Universe
GitHub Universe
The event for developers, by developers — talks, workshops, and what’s next for GitHub.
Pricing
Search
/
Sign in
Sign up
Appearance settings
You signed in with another tab or window.
Reload
to refresh your session.
You signed out in another tab or window.
Reload
to refresh your session.
You switched accounts on another tab or window.
Reload
to refresh your session.
Dismiss alert
{{ message }}
buttonmen-dev
buttonmen
Repository navigation
Code
Issues
493
(493)
Pull requests
9
(9)
Actions
Projects
Wiki
Security and quality
Insights
More
items
Developer guide: james git crib sheet
Jump to bottom
James Ong edited this page
Nov 25, 2013
·
1 revision
git fetch
get changes from all remote archives
git fetch
REMOTE
get changes from the
REMOTE
remote archive
git merge
REMOTE
/
BRANCH
merges
REMOTE
/
BRANCH
into current branch
git push
REMOTE
BRANCH
push local to
REMOTE
, branch
BRANCH
git remote add jl8e
https://github.com/jl8e/buttonmen.git
add remote jl8e
git branch
show all local branches
git branch -a
show all local and remote branches
git branch
BRANCH
create new local branch
BRANCH
git checkout
BRANCH
change active branch to
BRANCH
git branch -d
BRANCH
delete local branch
BRANCH
git push origin :
BRANCH
delete remote branch
BRANCH
git log
get log
git reset --hard
VERSION_ID
revert a branch to version
VERSION_ID
git reset --hard HEAD~1
delete the most recent commit and revert
git remote prune origin
remove local branches that have been removed from remote
git stash
stash changes
git stash apply
apply stashed changes
Wiki pages
Pages
27
Loading
Home
Uh oh!
There was an error while loading.
Please reload this page
.
Loading
Button art guidelines
Uh oh!
There was an error while loading.
Please reload this page
.
Loading
Chaos's git workflow
Uh oh!
There was an error while loading.
Please reload this page
.
Loading
Creating button images
Uh oh!
There was an error while loading.
Please reload this page
.
Loading
Deploying commits to the production branch on Github
Uh oh!
There was an error while loading.
Please reload this page
.
Loading
Deployment schedule
Uh oh!
There was an error while loading.
Please reload this page
.
Loading
Dev site index
Uh oh!
There was an error while loading.
Please reload this page
.
Loading
Developer guide
Uh oh!
There was an error while loading.
Please reload this page
.
Loading
developer guide: adding die skills
Uh oh!
There was an error while loading.
Please reload this page
.
Loading
Developer guide: architecture
Uh oh!
There was an error while loading.
Please reload this page
.
Loading
Developer guide: coding style
Uh oh!
There was an error while loading.
Please reload this page
.
Loading
Developer guide: creating collaborative branches
Uh oh!
There was an error while loading.
Please reload this page
.
Loading
Developer guide: dev site acceptance criteria
Uh oh!
There was an error while loading.
Please reload this page
.
Loading
Developer guide: general workflow
Uh oh!
There was an error while loading.
Please reload this page
.
Loading
Developer guide: getting started
Uh oh!
There was an error while loading.
Please reload this page
.
Loading
Developer guide: james git crib sheet
Loading
Developer guide: setting up a WAMP stack
Uh oh!
There was an error while loading.
Please reload this page
.
Loading
Developer guide: setting up a workspace
Uh oh!
There was an error while loading.
Please reload this page
.
Loading
Developer guide: writing QUnit tests
Uh oh!
There was an error while loading.
Please reload this page
.
Loading
Die model
Uh oh!
There was an error while loading.
Please reload this page
.
Loading
Disabling magic quotes
Uh oh!
There was an error while loading.
Please reload this page
.
Loading
Pull request responses
Uh oh!
There was an error while loading.
Please reload this page
.
Loading
Rules decisions
Uh oh!
There was an error while loading.
Please reload this page
.
Loading
Tester guide
Uh oh!
There was an error while loading.
Please reload this page
.
Loading
Tester guide: getting started
Uh oh!
There was an error while loading.
Please reload this page
.
Loading
Tester guide: supported skills
Uh oh!
There was an error while loading.
Please reload this page
.
Loading
Unimplemented skills
Uh oh!
There was an error while loading.
Please reload this page
.
Show 12 more pages…
Clone this wiki locally
You can’t perform that action at this time.