1
0
mirror of https://github.com/namibia/tips.git synced 2024-11-14 17:24:08 +00:00
Commit Graph

29 Commits

Author SHA1 Message Date
Eric James Michael Ritz
76c268f284 Describe how to list ignored files
This tip shows how to list all ignored files in a project, which will
take into account not only any `.gitignore` file within a repository,
but also any globally defined list of exclusions such as
`/home/eric/.gitexcludes` and `.git/info/exclude` within the
repository itself.

Signed-off-by: Eric James Michael Ritz <ejmr@plutono.com>
2015-07-29 18:54:45 -04:00
hemanth.hm
aa62766196 Merge pull request #18 from ejmr/git-push-delete
Add an easier-to-read way to delete a remote branch
2015-07-29 02:05:53 +05:30
Eric James Michael Ritz
8a26365c69 Add an easier-to-read way to delete a remote branch
Since 2010 Git supports the `--delete` argument for git-push as an
alias for the `:branch` syntax, i.e. these commands are equivalent:

    $ git push origin :foo
    $ git push origin --delete foo

This patch changes the tip to use the `--delete` argument on the
grounds that it is easier to remember, easier to understand, and
easily available since it is unlikely for people to be using a version
of Git which is more than five years old.

Signed-off-by: Eric James Michael Ritz <ejmr@plutono.com>
2015-07-28 15:04:09 -04:00
Samar Panda
58a4b7cfd3 git ls-files to show tracked and untracked files 2015-07-28 22:27:12 +05:30
Samar Panda
309397e0c9 git diff multiple usage 2015-07-28 22:08:59 +05:30
Samar Panda
efaba7db36 Quite handy saving unfinished work
Typo json
2015-07-27 22:13:15 +05:30
Hemanth.HM
3ed8741c28 Git alias 2015-07-27 09:33:30 +05:30
Samar Panda
8dda8b55e1 Find out branches containing a commit, including remote branches
Alternative for local branches
2015-07-26 00:09:11 +05:30
Samar Panda
7810dda14e Clarification of git diff-tree and ls-tree 2015-07-25 22:04:10 +05:30
Samar Panda
7ecc00c50b Tips using git cherry-pick 2015-07-25 15:41:59 +05:30
Hemanth.HM
85df5705fb whatchanged 2015-07-22 13:26:24 +05:30
Hemanth.HM
55778710ea Support alternatives in tips. 2015-07-17 13:01:25 +05:30
Anchal
9cc9a46519 tried with alternatives 2015-07-17 12:27:32 +05:30
Hemanth.HM
6cfcc26d9f Get git bash completion. 2015-07-17 06:51:14 +05:30
Hemanth.HM
0cd100f768 Stage parts of a changed file, tip 2015-07-16 12:29:32 +05:30
Hemanth.HM
abd2e497a2 Doing away with slug dep 2015-07-16 09:16:42 +05:30
Hemanth.HM
04573ea87d Changing a remote's URL 2015-07-16 09:07:15 +05:30
Hemanth.HM
6b5936ce57 Slugified. 2015-07-15 20:35:53 +05:30
Hemanth.HM
2bf7f0ea91 dashified title to fix TOC. 2015-07-15 20:16:49 +05:30
Hemanth.HM
acd8501b5f Updated readme 2015-07-15 20:07:46 +05:30
Hemanth.HM
fa5b33581e More info. 2015-07-15 16:47:39 +05:30
Hemanth.HM
eff7432b3a Migrated to doxie ❤️ 2015-07-15 16:31:27 +05:30
Hemanth.HM
dd2031c387 Fixed conflicts 2015-07-15 15:59:20 +05:30
Hemanth.HM
c68571f98e Tip from @vinkla 2015-07-15 15:58:23 +05:30
Thomas Stringer
f8f15467d6 Changed headers of tips to be smaller text 2015-07-15 06:25:24 -04:00
Thomas Stringer
bad3155f1f Added a couple of common upstream commands to track and check status 2015-07-15 06:24:22 -04:00
Vincent Klaiber
b6b103fe70 Remove branches that have already been merged with master 2015-07-15 09:40:18 +02:00
Phalgun Guduthur
7c4096ffb2 More git tips 2015-07-15 13:05:57 +05:30
Hemanth.HM
68f6970979 🔥 2015-07-15 12:56:27 +05:30