I am new to git and stackoverflow.
I am having trouble updating my .java file on git. Must be missing something minor.
Can you help. Output is below?
bash-3.2$ git add bwt.java
bash-3.2$ git commit -m "new commit"
[master (root-commit) fc94e26] new commit
1 file changed, 368 insertions(+)
create mode 100755 src/bwtx/bwt.java
bash-3.2$ git remote add origin
usage: git remote add [<options>] <name> <url>
-f, --fetch fetch the remote branches
--tags import all tags and associated objects when fetching
or do not fetch any tag at all (--no-tags)
-t, --track <branch> branch(es) to track
-m, --master <branch>
master branch
--mirror[=<push|fetch>]
set up remote as a mirror to push to or fetch from
bash-3.2$ git remote add origin https://github.com/MartinRSchiller/BWT.git
bash-3.2$ git remote add origin
usage: git remote add [<options>] <name> <url>
-f, --fetch fetch the remote branches
--tags import all tags and associated objects when fetching
or do not fetch any tag at all (--no-tags)
-t, --track <branch> branch(es) to track
-m, --master <branch>
master branch
--mirror[=<push|fetch>]
set up remote as a mirror to push to or fetch from