Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Git Tips
Search
Musannif Zahir
April 28, 2014
Programming
1
130
Git Tips
Some tips for the intermediate Git user, presented initially at the first Kickstart.mv Tech Talks
Musannif Zahir
April 28, 2014
Tweet
Share
Other Decks in Programming
See All in Programming
When Dependencies Fail: Building Antifragile Applications in a Fragile World
selcukusta
0
120
GC25 Recap: The Code You Reviewed is Not the Code You Built / #newt_gophercon_tour
mazrean
0
140
AI時代に必須!状況言語化スキル / ai-context-verbalization
minodriven
2
280
CSC305 Lecture 11
javiergs
PRO
0
320
One Enishi After Another
snoozer05
PRO
0
170
AI Agent 時代的開發者生存指南
eddie
4
2.3k
ALL CODE BASE ARE BELONG TO STUDY
uzulla
29
6.9k
AkarengaLT vol.38
hashimoto_kei
1
130
なんでRustの環境構築してないのにRust製のツールが動くの? / Why Do Rust-Based Tools Run Without a Rust Environment?
ssssota
14
47k
三者三様 宣言的UI
kkagurazaka
0
330
AsyncSequenceとAsyncStreamのプロポーザルを全部読む!!
s_shimotori
1
220
React Nativeならぬ"Vue Native"が実現するかも?_新世代マルチプラットフォーム開発フレームワークのLynxとLynxのVue.js対応を追ってみよう_Vue Lynx
yut0naga1_fa
2
2k
Featured
See All Featured
Designing Dashboards & Data Visualisations in Web Apps
destraynor
231
54k
Optimising Largest Contentful Paint
csswizardry
37
3.5k
[RailsConf 2023] Rails as a piece of cake
palkan
57
6k
4 Signs Your Business is Dying
shpigford
186
22k
Design and Strategy: How to Deal with People Who Don’t "Get" Design
morganepeng
132
19k
The Web Performance Landscape in 2024 [PerfNow 2024]
tammyeverts
10
900
Bootstrapping a Software Product
garrettdimon
PRO
307
110k
The Language of Interfaces
destraynor
162
25k
XXLCSS - How to scale CSS and keep your sanity
sugarenia
249
1.3M
Designing for Performance
lara
610
69k
Raft: Consensus for Rubyists
vanstee
140
7.2k
Unsuck your backbone
ammeep
671
58k
Transcript
GIT TIPS @mzahir GIT TIPS
Musannif Zahir (Muchi)
GIT TIPS? • Git Rebase
GIT TIPS Quick tips on boosting your productivity with Git.
Introductions to the popular git functionality and the more magical, complex git operations to make source control and code sharing hassle- free.
None
GIT FLOW Vincent Driessen
None
REVIEW REVIEW
REBASE
REBASE •Similar, but different •Modify timeline
REBASE •git rebase master •manually fix conflict •git add file
•git rebase —continue
None
SQUASH Clean commit log git rebase -i HEAD~10
PULL? •git fetch + git merge (current branch) •Manual •git
pull —rebase
ROLLBACK •git reset --soft HEAD~1
TIPS TIPS
TYPO!! •git commit --amend -m “fixes the queen’s english"
ALIASES ~/.gitconfig Convenience Clarity
AUTOCORRECT •git config —global help.autocorrect 1
TRICKS TRICKS
HISTORICAL SEARCH •git log -Ssecret_key
CI WOES
None
CI WOES git commit --amend -C HEAD; git push -f
origin branchname
GITCEPTION
GITCEPTION Restrict Access ! Reusability
TOOLS TOOLS
HUB pull-request fork create browse compare ci-status
GOURCE https://code.google.com/p/gource/
QUESTIONS QUESTIONS