0% found this document useful (0 votes)
231 views6 pages

Mohammads Github

The document shows someone configuring their git username and email, then cloning a repository called "mame" from their desktop. They try to push changes but are unable to authenticate to GitHub. They then try adding and committing a file called "mame.txt" locally.

Uploaded by

Mohammad Ganzab
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
231 views6 pages

Mohammads Github

The document shows someone configuring their git username and email, then cloning a repository called "mame" from their desktop. They try to push changes but are unable to authenticate to GitHub. They then try adding and committing a file called "mame.txt" locally.

Uploaded by

Mohammad Ganzab
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 6

Name ID

Mohammad Ganzab……………………………………0588/10
Million Alemu …………………………………………0584/10

good2@fgh MINGW64 ~ (master)


$ git config --global user.name "MohammadGanzab"

good2@fgh MINGW64 ~ (master)


$ git config --global user.email "[email protected]"

good2@fgh MINGW64 ~ (master)


$ cd desktop

good2@fgh MINGW64 ~/desktop (master)


$ cd mame

good2@fgh MINGW64 ~/desktop/mame (master)


$ ls
mame.txt

good2@fgh MINGW64 ~/desktop/mame (master)


$ git status
On branch master
Your branch is ahead of 'origin/master' by 1 commit.
(use "git push" to publish your local commits)

nothing to commit, working tree clean

good2@fgh MINGW64 ~/desktop/mame (master)


$ git status -b
On branch master
Your branch is ahead of 'origin/master' by 1 commit.
(use "git push" to publish your local commits)

nothing to commit, working tree clean

good2@fgh MINGW64 ~/desktop/mame (master)


$ git commit
On branch master
Your branch is ahead of 'origin/master' by 1 commit.
(use "git push" to publish your local commits)

nothing to commit, working tree clean


good2@fgh MINGW64 ~/desktop/mame (master)
$ git push
Logon failed, use ctrl+c to cancel basic credential prompt.
Username for 'https://github.com': git add mame .txt
remote: Invalid username or password.
fatal: Authentication failed for 'https://github.com/MohammadGanzab/Mame.git/'

good2@fgh MINGW64 ~/desktop/mame (master)


$ git push
Logon failed, use ctrl+c to cancel basic credential prompt.
Username for 'https://github.com': MohammadGanzab
remote: Invalid username or password.
fatal: Authentication failed for 'https://github.com/MohammadGanzab/Mame.git/'

good2@fgh MINGW64 ~/desktop/mame (master)


$ ^C

good2@fgh MINGW64 ~/desktop/mame (master)


$ git add file
fatal: pathspec 'file' did not match any files

good2@fgh MINGW64 ~/desktop/mame (master)


$ git add mamee.txt
fatal: pathspec 'mamee.txt' did not match any files

good2@fgh MINGW64 ~/desktop/mame (master)


$ git add mame.txt

good2@fgh MINGW64 ~/desktop/mame (master)

Screenshoot above command


ATMBankingSystem

package Package1;

/**

* @author good2

* @version 1.0

* @created 17-May-2019 3:50:31 AM

*/

public class ATMBankingSystem {

public int location;


public ATMBankingSystem(){

public void finalize() throws Throwable {

public double CalculateMoney(){

return 0;

public double ManageAccount(){

return 0;

Customer Class

package Package1;

/**

* @author good2

* @version 1.0

* @created 17-May-2019 3:50:34 AM

*/

public class Customer extends ATMBankingSystem {


private int ID;

private int Phone;

public Customer(){

public void finalize() throws Throwable {

super.finalize();

public void Deposit(){

private void ViewMoney(){

private void Withdraw(){

Manager Class

package Package1;
/**

* @author good2

* @version 1.0

* @created 17-May-2019 3:50:36 AM

*/

public class Manager extends ATMBankingSystem {

private int Name;

public Manager(){

public void finalize() throws Throwable {

super.finalize();

public void Viewcustomer(){

You might also like