Skip to content

Commit

Permalink
Removed comments on same line
Browse files Browse the repository at this point in the history
  • Loading branch information
jcohenadad committed Dec 6, 2022
1 parent 6e29eb0 commit 58f03fe
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions geek-tips/git-annex.md
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,8 @@ mkdir my-new-repo
cd my-new-repo
git init
vi README # write something useful in this
vi README
# write something useful in README
git add README && git commit -m "Initial commit"
cat <<EOF > .gitignore
Expand All @@ -108,12 +109,11 @@ EOF
git add .gitignore .gitattributes && git commit -m "Configure git-annex"
git annex init
git annex config --set annex.addunlocked true # .gitattributes runs the filter on 'git add', which leaves files 'unlocked';
# i.e. as themselves, instead of as symlinks into .git/annex/objects;
# this setting ensures files added with 'git annex add' are also 'unlocked'.
# .gitattributes runs the filter on 'git add', which leaves files 'unlocked'; i.e. as themselves, instead of as symlinks into .git/annex/objects; this setting ensures files added with 'git annex add' are also 'unlocked'.
git annex config --set annex.addunlocked true
# Here, copy in or create initial files, wherever they are from:
# rsync, wget, curl, tar, dropbox, etc <...>
# rsync, wget, curl, tar, dropbox, etc <...>, then run the following commands.
git add .
git commit -m "Initial data"
Expand Down

0 comments on commit 58f03fe

Please sign in to comment.