-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
the-real-brogrammer
committed
Sep 18, 2024
1 parent
aec73aa
commit a31d5c7
Showing
1 changed file
with
2 additions
and
21 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,21 +1,2 @@ | ||
# githubPracticefix if you add wrong upstream: | ||
git remote set-url [remote name] [url] | ||
|
||
fix if you accidentally add file you shouldn't push (i.e. a.out) | ||
git rm --cookie [file] | ||
|
||
git log | ||
git status | ||
git remote -v | ||
git branch | ||
|
||
|
||
git checkout x -> switch to branch x, -b to create branch | ||
git push origin x -> pushes to branch x, -u to create branch | ||
|
||
|
||
|
||
|
||
|
||
|
||
[![Build C++](https://github.com/the-real-brogrammer/githubPractice/actions/workflows/actions.yml/badge.svg)](https://github.com/the-real-brogrammer/githubPractice/actions/workflows/actions.yml) | ||
# githubPractice | ||
[![Build C++](https://github.com/the-real-brogrammer/githubPractice/actions/workflows/actions.yml/badge.svg)](https://github.com/the-real-brogrammer/githubPractice/actions/workflows/actions.yml) |