1
0
mirror of https://github.com/namibia/tips.git synced 2024-11-13 16:56:30 +00:00
Commit Graph

149 Commits

Author SHA1 Message Date
Hemanth.HM
affd2f840a Get the name of the current branch 2015-09-19 17:59:32 +05:30
Hemanth.HM
c0faf65fc9 Import form a bundle 2015-09-13 21:25:07 +05:30
Hemanth.HM
ebd7521a49 git bundle 2015-09-13 21:22:57 +05:30
hemanth.hm
199d6ff42e Merge pull request #33 from samarpanda/git-subtree
Git subtree usage!
2015-09-03 14:21:37 +05:30
Samar Panda
1f08b12668 Updated title text 2015-09-02 20:21:18 +05:30
Samar Panda
8e73868075 pull changes of subproject using git subtree 2015-09-02 20:10:26 +05:30
Samar Panda
b31618b975 Adding a project to repo using subtree 2015-09-02 19:58:41 +05:30
Samar Panda
061d6ba4bb Deploying git tracked subfolder to gh-pages 2015-09-02 19:38:07 +05:30
Hemanth.HM
8746905b37 Visualize the version tree. 2015-08-30 20:32:40 +05:30
Hemanth.HM
e9e75fed9e commit hash of the initial revision 2015-08-28 18:17:40 +05:30
Hemanth.HM
ca58c81f63 LICENSE 2015-08-26 16:34:50 +05:30
Hemanth.HM
435fc51703 Prune origin. 2015-08-25 18:39:20 +05:30
hemanth.hm
908ae034cc Merge pull request #31 from p-v/amend-patch
Tip to amend last commit
2015-08-22 21:21:23 +05:30
Pratyush
97ea96885a tip to amend last commit 2015-08-22 19:20:06 +05:30
Hemanth.HM
5c85e36770 Archive a branch. 2015-08-22 18:25:04 +05:30
Hemanth.HM
5d57c4f132 rebases and merge feature branch to master. 2015-08-21 19:34:59 +05:30
hemanth.hm
31ae908a62 Merge pull request #30 from p-v/branch-rename
Tip to rename a branch
2015-08-19 15:09:33 +05:30
Pratyush
274f663e6b tip to rename a branch 2015-08-19 14:59:29 +05:30
hemanth.hm
9f996ee129 Merge pull request #28 from p-v/cherry-patch
Tip to show all commits yet to be merged to master
2015-08-17 13:18:30 +05:30
Pratyush
3048cfb182 add git cherry tip 2015-08-17 00:48:33 +05:30
hemanth.hm
214d46dcac Merge pull request #27 from alorma/patch-1
Fix typo
2015-08-15 18:00:15 +05:30
Bernat Borrás Paronella
548f59900c Fix Typo
fix typo from #25
2015-08-15 14:12:24 +02:00
Bernat Borrás Paronella
740e817be7 Fix typo
Fix #25
2015-08-15 14:09:42 +02:00
hemanth.hm
ba2f4eac6e Merge pull request #26 from samebchase/patch-2
Fix shell command and spelling
2015-08-14 11:35:03 +05:30
Samuel Chase
2c82081aed Fix shell command and spelling 2015-08-14 10:36:46 +05:30
Hemanth.HM
a0f2f10ec9 update all submodules. 2015-08-12 20:55:36 +05:30
hemanth.hm
395abfd730 Merge pull request #24 from anchal20/master
Using clean to forcefully remove files/directory
2015-08-11 16:16:15 +05:30
Anchal
f7ac6d21b6 alternative for cleaning untracked directory 2015-08-11 12:19:37 +05:30
Anchal
5da7631c23 alternative for cleaning untracked directory 2015-08-11 12:18:39 +05:30
Anchal
9ac4b5be05 get list of untracked files/directory 2015-08-11 11:48:14 +05:30
Anchal
d74c78a473 get list of untracked files/directory 2015-08-11 11:47:49 +05:30
Anchal
fd7f20a395 clean untracked files and directory 2015-08-11 11:41:10 +05:30
hemanth.hm
cab6261a38 Merge pull request #23 from samarpanda/more
Git stash include untracked files
2015-08-07 16:41:24 +05:30
Samar Panda
a2319d7090 git stash save -u which i started using 2015-08-07 06:27:15 +05:30
hemanth.hm
5566a52dc4 Merge pull request #22 from samarpanda/worktree
Git Worktree!
2015-08-02 16:17:39 +05:30
Samar Panda
4cdc87f48e Using revert and reset 2015-07-31 16:13:57 +05:30
Samar Panda
de65ecb886 Help tips around git worktree one of git 2.5 features 2015-07-31 03:52:44 +05:30
hemanth.hm
328e594513 Merge pull request #21 from ejmr/tips-from-my-personal-aliases
Three tips adapted from personal aliases which I use
2015-07-30 05:48:07 +05:30
Eric James Michael Ritz
197d23a9b3 Describe how to see commits since forking from master
The command in this tip avoids showing merge commits because sometimes
developers will merge `master` into their feature branch in the course
of development, especially when that feature is in development for a
long time.  This tip focuses on showing only those commits which
introduce new changes and ignores those merge commits for this reason.
It also displays the commits in reverse chronological order, oldest to
newest, so that the output shows the development of a feature branch
in "historical" order.

Signed-off-by: Eric James Michael Ritz <ejmr@plutono.com>
2015-07-29 19:00:56 -04:00
Eric James Michael Ritz
3e926cdc9e Describe how to reword the most recent commit message
This is useful for when you realize that you forgot to mention
something important, made a typo, etc.  Obviously you should avoid
using this on a commit which you have already pushed.

Signed-off-by: Eric James Michael Ritz <ejmr@plutono.com>
2015-07-29 18:58:03 -04:00
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
hemanth.hm
b76f3c9e53 Merge pull request #20 from samarpanda/file_directory
Git Files
2015-07-28 22:47:00 +05:30
Samar Panda
305d5eb189 Merge branch 'master' into file_directory
* master:
2015-07-28 22:40:18 +05:30
hemanth.hm
b544b7fd32 Merge pull request #19 from samarpanda/usage_git_diff
Git diff usage!
2015-07-28 22:29:25 +05:30
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
hemanth.hm
5c7049059c Merge pull request #17 from samarpanda/git_stash
Git stash
2015-07-28 12:08:58 +05:30
Samar Panda
efaba7db36 Quite handy saving unfinished work
Typo json
2015-07-27 22:13:15 +05:30