Now create a file that Git doesn’t know about. With your favorite editor, create the file hello.py, which has just a print statement in it. ``` # hello.py print('hello Git!') ``` If you run git status again, you’ll see a different result: ``` $ git status On branch master Initial commit Untracked files: (use "git add <file>..." to include in what will be committed) hello.py ``` nothing added to commit but untracked files present (use "git add" to track) Now Git sees the new file and tells you that it’s untracked. That’s just Git’s way of saying that the file is not part of the repo and is not under version control. We can fix that by adding the file to Git. Use the git add command to make that happen: ``` $ git add hello.py $ git status On branch master Initial commit Changes to be committed: (use "git rm --cached <file>..." to unstage) new file: hello.py ```
author | python-dev |
---|---|
permlink | introduction-to-git-2-adding-a-new-file |
category | python-dev |
json_metadata | {"tags":["python-dev"],"app":"steemit/0.2","format":"markdown"} |
created | 2020-03-16 00:18:51 |
last_update | 2020-03-16 00:18:51 |
depth | 0 |
children | 2 |
last_payout | 2020-03-23 00:18:51 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.658 HBD |
curator_payout_value | 0.658 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 895 |
author_reputation | 5,457,648,648,750 |
root_title | "Introduction to Git (2) - Adding a New File" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 0 |
post_id | 96,389,345 |
net_rshares | 4,319,379,501,817 |
author_curate_reward | "" |
voter | weight | wgt% | rshares | pct | time |
---|---|---|---|---|---|
cheneats | 0 | 24,460,686,803 | 100% | ||
mytechtrail | 0 | 40,805,878,906 | 20% | ||
yougotresteemed | 0 | 540,119,981 | 100% | ||
xiguang | 0 | 1,611,757,435,662 | 100% | ||
ctime | 0 | 216,812,775,777 | 2% | ||
crypto.income | 0 | 2,425,002,604,688 | 100% |
Good tutorial, very easy to follow. looking forward to see more post on.
author | crypto.income |
---|---|
permlink | q7ijpv |
category | python-dev |
json_metadata | {"app":"hiveblog/0.1"} |
created | 2020-03-20 22:27:33 |
last_update | 2020-03-20 22:27:33 |
depth | 1 |
children | 0 |
last_payout | 2020-03-27 22:27:33 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.000 HBD |
curator_payout_value | 0.000 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 73 |
author_reputation | 533,986,342,954 |
root_title | "Introduction to Git (2) - Adding a New File" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 96,524,264 |
net_rshares | 0 |
[Plagiarism](http://www.plagiarism.org/plagiarism-101/what-is-plagiarism/) is the copying & pasting of others work without giving credit to the original author or artist. Plagiarized posts are considered fraud and violate the intellectual property rights of the original creator. Fraud is discouraged by the community and may result in the account being Blacklisted.
author | steemcleaners |
---|---|
permlink | q7np5p |
category | python-dev |
json_metadata | {"links":["http://www.plagiarism.org/plagiarism-101/what-is-plagiarism/"],"app":"hiveblog/0.1"} |
created | 2020-03-23 17:13:00 |
last_update | 2020-03-23 17:13:00 |
depth | 1 |
children | 0 |
last_payout | 2020-03-30 17:13:00 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.321 HBD |
curator_payout_value | 0.321 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 368 |
author_reputation | 2,789,224,428,782,668 |
root_title | "Introduction to Git (2) - Adding a New File" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 96,553,411 |
net_rshares | 2,119,272,780,369 |
author_curate_reward | "" |
voter | weight | wgt% | rshares | pct | time |
---|---|---|---|---|---|
adm | 0 | 2,049,277,229,201 | 9.5% | ||
sc-fund | 0 | 69,995,551,168 | 12.5% |