This shows you the differences between two versions of the page.
tutorials:git-tips [2014/04/04 18:55] razvan created |
tutorials:git-tips [2020/07/20 09:16] |
||
---|---|---|---|
Line 1: | Line 1: | ||
- | = Git = | ||
- | GitHub' | ||
- | |||
- | Read [[http:// | ||
- | |||
- | Make small commits; make descriptive commit messages. Read more [[http:// | ||
- | |||
- | Do not commit files that may be obtained from files already in the repository. Do not commit object files or executable files that are compiled out from source code files. You may commit images files or other binary files that can't be obtained from source code files inside the repository. | ||
- | |||
- | Merge and rebase are two sometimes misunderstood methods of adding commits using git. [[http:// | ||
- | |||
- | Make sure there aren't any trailing whitespaces in your file. The waste space; Git usually complains about this when you create a commit. | ||
- | |||
- | The Windows OS has the habbit of using executable permissions for files such as source code or text files. These don't required executable permissions and you should make sure they don't use them. | ||
- | |||
- | For more in depth tips, read the "Git is the Answer" | ||
- | * http:// | ||
- | * http:// | ||
- | * http:// |