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
110
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
try! Swift Tokyo 初参加報告LT
hinakko2
0
220
GitHub Actionsで泣かないためにやっておきたい設定 / Recommended GHA settings to avoid crying
pinkumohikan
3
540
DMMプラットフォームがTiDB Cloudを採用した背景
pospome
8
4.1k
Goのエラースタックトレースの歴史と今後
sonatard
9
1.5k
ゆるい個人開発のススメ
kuroppe1819
10
990
Site Reliability Engineering for GMO
pyama86
8
1k
OpenAPIを中心に考えるAPI開発入門 / Introduction to API Development with a Focus on OpenAPI
seike460
PRO
2
170
Goのmultiple errorsについて (2024年4月版)
syumai
4
910
Let's learn code review
riofujimon
2
410
効率化に挑戦してみたらモバイル開発が少し快適になった話
ryunakayama
0
130
PostmanでAPIの動作確認が楽になった話
h455h1
0
170
⼤規模⾔語モデルの拡張(RAG)が 終わったかも知れない件について
nearme_tech
23
15k
Featured
See All Featured
Rebuilding a faster, lazier Slack
samanthasiow
73
8.2k
Understanding Cognitive Biases in Performance Measurement
bluesmoon
7
1k
The Cult of Friendly URLs
andyhume
74
5.7k
The Success of Rails: Ensuring Growth for the Next 100 Years
eileencodes
30
6k
Creating an realtime collaboration tool: Agile Flush - .NET Oxford
marcduiker
14
1.5k
Building Adaptive Systems
keathley
31
1.9k
Writing Fast Ruby
sferik
621
60k
Web development in the modern age
philhawksworth
202
10k
Faster Mobile Websites
deanohume
299
30k
Designing for humans not robots
tammielis
248
25k
Testing 201, or: Great Expectations
jmmastey
28
6.4k
[RailsConf 2023] Rails as a piece of cake
palkan
23
4k
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