Commit Graph

14 Commits (28427f6d1d1729a5068dc265ff22d9da2105f46e)

Author SHA1 Message Date
Marco Bonelli 2599a6de48 Refactor: change "folder" to "directory" where needed.
This commit fixes every instance in which the word "folder" is
incorrectly used instead of "directory".
2019-02-13 20:51:04 +05:30
Starbeamrainbowlabs a19866e88a
multiple pages: add homepages (#2660) 2019-01-30 11:19:23 +00:00
Mike Rogne 3bf256f6cb git checkout: add example for creating new branch based on remote branch with different name (#2494) 2018-10-28 05:22:23 +05:30
Waldir Pimenta 05780d6183 git-checkout: "modifications" --> "changes" 2017-05-18 17:24:52 +01:00
Waldir Pimenta 6f9dbe9fce git-checkout: mention reset, add single-file ex. 2017-05-18 17:24:52 +01:00
Waldir Pimenta 2a4379ceea git-checkout: correct checkout of remote branch (#1359)
As described in http://stackoverflow.com/a/9537923 (paraphrased below):

> You need to create a local branch that tracks a remote branch.
> The following command will create a local branch
> tracking the remote branch of the same name.
> When you push your changes the remote branch will be updated.
>
> `git checkout --track [remotename]/[branch]`
>
> This is a shorthand for `git checkout -b [branch] [remotename]/[branch]`.
>
> For git 1.7.2.3 and higher this is enough: `git checkout daves_branch`
>
> Note that with recent git versions,
> **this will command not create a local branch and will put you in a 'detached HEAD' state.**
> If you want a local branch, use the --track option.
> Full details here: http://git-scm.com/book/en/v2/Git-Branching-Remote-Branches#Tracking-Branches
2017-04-30 11:17:03 +01:00
Waldir Pimenta b7d34523f6 git-checkout: also works for remote branches (#1238) 2017-01-18 14:43:53 +00:00
Seth Woodworth e04863b55d Add git-checkout example for files across branches 2017-01-06 10:13:46 +05:30
Te-Chi Liu 5a54763c72 fixup: token string style (#1081)
- use underscore rather than minus
- use lower case rather than uppder case
2016-09-21 21:05:46 +05:30
Ruben Vereecken 066582e8ea Formatted all pages according to guidelines. 2016-01-08 09:38:59 +01:00
Ruben Vereecken b755e726c8 Fixed annoyingly incorrect file syntaxes 2016-01-07 16:51:03 +01:00
Mehdi FARSI 0d2cfc2e3d Undo unstaged local modification 2015-11-24 00:21:20 +01:00
lord63 56a7cba656 Fix lint for common 2015-10-23 08:02:34 +08:00
kxy 4d70294f06 split git commands 2014-03-09 13:20:13 +01:00