Jasinski Technical Wiki

Navigation

Home Page
Index
All Pages

Quick Search
»
Advanced Search »

Contributor Links

Create a new Page
Administration
File Management
Login/Logout
Your Profile

Other Wiki Sections

Software

PoweredBy

Page History: Git Quick Reference

Compare Page Revisions



« Older Revision - Back to Page History - Newer Revision »


Page Revision: Tue, Apr 05, 2022, 8:02 AM


GIT Full Path

"C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\Common7\IDE\CommonExtensions\Microsoft\TeamFoundation\Team Explorer\Git\cmd\git.exe"

List Outgoing Commits

This command sends the output to the file "c:\data\diff.txt"

git log origin/DEPLOY..HEAD > c:\data\diff.txt

Show Current Branch

git branch --show-current

Discard Changes

git reset --hard

ScrewTurn Wiki version 3.0.1.400. Some of the icons created by FamFamFam. Except where noted, all contents Copyright © 1999-2024, Patrick Jasinski.