Using Git to manage your code? We all know about git init, commit, etc. But here are some handy git commands for common scenarios:

Clone from GitHub

Unlink your Local Repo from GitHub

Ever want to use an example app on GitHub as a starting point for your application or component, and want to unlink it from the original GitHub address?

This can be done in two steps:

This will delete the config settings from .git/config.

Then, issue

to get rid of the FETCH_HEAD, which still points to GitHub.

Help with the Most Common Git Commands

Search your Change Log

Where was that checkin that I did which altered the “foo” class? 

List all Conflicting Files

Reword the Previous Commit Message

error
Author

Steve's career has included leadership and entrepreneurship in consumer apps, online travel, games, relational databases, consulting and telecommunications. Steve founded BigOven, the first recipe app for iPhone, now with more than 13 million downloads, which was purchased in 2018. Steve served as Chairman of Escapia Inc., the leading SaaS solution for the US vacation rental industry, now part of Expedia. Steve was co-founder, President, CEO and Chairman of VacationSpot, a pioneer in the online reservation of vacation rentals, bought by Expedia in January 2000. At Expedia, Steve was Vice President of Vacation Packages, leading the vacation package and destination services teams, helping to create two patents on the first-ever dynamic vacation packaging system on the Internet, which now represents billions in annual transactions for Expedia. Steve has keynoted on several occasions at the Vacation Rental Managers Association (VRMA) and taught a course on the management of innovation at the University of Washington Graduate Business School in Seattle, Washington. Steve worked for Microsoft from 1991 to 1997 in a variety of senior marketing and executive positions, and led the creation of the internet games group, helping develop several products and patents related to online multiplayer gaming. He helped launch Microsoft Access and was involved in the acquisition of Fox Software by Microsoft in 1993. He's worked for IBM, Booz-Allen Hamilton and Bell Communications Research. Steve holds an MS in Computer Science from Stanford University in Symbolic and Heuristic Computation (AI), an MBA from Harvard Business School, where he was named a George F. Baker Scholar (awarded to top 5% of graduating class), and a dual BS in Applied Mathematics / Computer Science and Industrial Management from Carnegie Mellon University (CMU) with University Honors. Steve volunteers when time allows with Habitat for Humanity, University District Food Bank, YMCA Seattle, Technology Access Foundation (TAF) and SPEAK OUT Seattle, among other groups.

Write A Comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.