Skip to content

Commit

Permalink
Add comment in readme to push shallow clone to remote repo (#1).
Browse files Browse the repository at this point in the history
  • Loading branch information
kartikkumar committed Jul 19, 2016
1 parent 956a807 commit e986b97
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,12 @@ Run the following commands to download, build, and install this project. Substit
mkdir build && cd build
cmake -DPROJECT_NAME=<project_name> .. && cmake --build .

To push this project to your own remote repository, you can run the following command, which will overcome the issues with utilizing a shallow clone:

git commit --amend .

This rewrites the last commit and ensures that you can then push the repository to a remote (e.g., Github, BitBucket, Gitlab, etc.).

To install the header files, run the following from within the `build` directory:

make install
Expand Down

0 comments on commit e986b97

Please sign in to comment.