Sunday, April 19, 2020

Process to push code on GIT

Administrator@Lenovo MINGW64 ~ (master)
$ cd C:\Program Files\Git\bin\assignmentsTracker\assignments-tracker
bash: cd: too many arguments

Administrator@Lenovo MINGW64 ~ (master)
$ cd "C:\Program Files\Git\bin\assignmentsTracker\assignments-tracker"

Administrator@Lenovo MINGW64 /bin/assignmentsTracker/assignments-tracker
$ git pull
From https://github.com/VisionITTesting/assignments-tracker
 * [new branch]      RahulB     -> origin/RahulB
Already up to date.

Administrator@Lenovo MINGW64 /bin/assignmentsTracker/assignments-tracker
$ git checkout RahulB
Switched to a new branch 'RahulB'
Branch 'RahulB' set up to track remote branch 'RahulB' from 'origin'.

Administrator@Lenovo MINGW64 /bin/assignmentsTracker/assignments-tracker
$ git status
On branch RahulB
Your branch is up to date with 'origin/RahulB'.

Untracked files:
  (use "git add <file>..." to include in what will be committed)
        VisionITProject/

nothing added to commit but untracked files present (use "git add" to track)

Administrator@Lenovo MINGW64 /bin/assignmentsTracker/assignments-tracker
$ git add.
git: 'add.' is not a git command. See 'git --help'.

The most similar command is
        add

Administrator@Lenovo MINGW64 /bin/assignmentsTracker/assignments-tracker
$ git status
On branch RahulB
Your branch is up to date with 'origin/RahulB'.

Untracked files:
  (use "git add <file>..." to include in what will be committed)
        VisionITProject/

nothing added to commit but untracked files present (use "git add" to track)

Administrator@Lenovo MINGW64 /bin/assignmentsTracker/assignments-tracker
$ git add .

Administrator@Lenovo MINGW64 /bin/assignmentsTracker/assignments-tracker
$ git status
On branch RahulB
Your branch is up to date with 'origin/RahulB'.

Changes to be committed:
  (use "git restore --staged <file>..." to unstage)
        new file:   VisionITProject/pom.xml
        new file:   VisionITProject/src/test/java/pageobjects/CmnPageObjects.java
        new file:   VisionITProject/src/test/java/pageobjects/SearchPageObjects.java
        new file:   VisionITProject/src/test/java/runner/RunTestAPI.java
        new file:   VisionITProject/src/test/java/runner/RunTestUI.java
        new file:   VisionITProject/src/test/java/stepdefs/api/DeleteRequestStepDefs.java
        new file:   VisionITProject/src/test/java/stepdefs/api/GetRequestStepDefs.java
        new file:   VisionITProject/src/test/java/stepdefs/api/Hooks.java
        new file:   VisionITProject/src/test/java/stepdefs/api/OptionsRequestStepDefs.java
        new file:   VisionITProject/src/test/java/stepdefs/api/PatchRequestStepDefs.java
        new file:   VisionITProject/src/test/java/stepdefs/api/PostRequestStepDefs.java
        new file:   VisionITProject/src/test/java/stepdefs/api/PutRequestStepDefs.java
        new file:   VisionITProject/src/test/java/stepdefs/api/TestContext.java
        new file:   VisionITProject/src/test/java/stepdefs/ui/SearchStepDefs.java
        new file:   VisionITProject/src/test/java/trial/junit/APITestCase.java
        new file:   VisionITProject/src/test/java/trial/junit/ui/po/PO_Login.java
        new file:   VisionITProject/src/test/java/trial/junit/ui/tc/TC_TestParaBank.java
        new file:   VisionITProject/src/test/java/utils/TestBase.java
        new file:   VisionITProject/src/test/java/utils/api/CmnApiMethods.java
        new file:   VisionITProject/src/test/resources/bdd-config.xml
        new file:   VisionITProject/src/test/resources/config.properties
        new file:   VisionITProject/src/test/resources/extent.properties
        new file:   VisionITProject/src/test/resources/features/api/DeleteRequests.feature
        new file:   VisionITProject/src/test/resources/features/api/GetRequests.feature
        new file:   VisionITProject/src/test/resources/features/api/OptionsRequests.feature
        new file:   VisionITProject/src/test/resources/features/api/PatchRequests.feature
        new file:   VisionITProject/src/test/resources/features/api/PostRequests.feature
        new file:   VisionITProject/src/test/resources/features/api/PutRequests.feature
        new file:   VisionITProject/src/test/resources/features/ui/Search.feature
        new file:   VisionITProject/src/test/resources/html-config.xml


Administrator@Lenovo MINGW64 /bin/assignmentsTracker/assignments-tracker
$ git commit -m 'adding project files for assement'
[RahulB bccce05] adding project files for assement
 30 files changed, 1532 insertions(+)
 create mode 100644 VisionITProject/pom.xml
 create mode 100644 VisionITProject/src/test/java/pageobjects/CmnPageObjects.java
 create mode 100644 VisionITProject/src/test/java/pageobjects/SearchPageObjects.java
 create mode 100644 VisionITProject/src/test/java/runner/RunTestAPI.java
 create mode 100644 VisionITProject/src/test/java/runner/RunTestUI.java
 create mode 100644 VisionITProject/src/test/java/stepdefs/api/DeleteRequestStepDefs.java
 create mode 100644 VisionITProject/src/test/java/stepdefs/api/GetRequestStepDefs.java
 create mode 100644 VisionITProject/src/test/java/stepdefs/api/Hooks.java
 create mode 100644 VisionITProject/src/test/java/stepdefs/api/OptionsRequestStepDefs.java
 create mode 100644 VisionITProject/src/test/java/stepdefs/api/PatchRequestStepDefs.java
 create mode 100644 VisionITProject/src/test/java/stepdefs/api/PostRequestStepDefs.java
 create mode 100644 VisionITProject/src/test/java/stepdefs/api/PutRequestStepDefs.java
 create mode 100644 VisionITProject/src/test/java/stepdefs/api/TestContext.java
 create mode 100644 VisionITProject/src/test/java/stepdefs/ui/SearchStepDefs.java
 create mode 100644 VisionITProject/src/test/java/trial/junit/APITestCase.java
 create mode 100644 VisionITProject/src/test/java/trial/junit/ui/po/PO_Login.java
 create mode 100644 VisionITProject/src/test/java/trial/junit/ui/tc/TC_TestParaBank.java
 create mode 100644 VisionITProject/src/test/java/utils/TestBase.java
 create mode 100644 VisionITProject/src/test/java/utils/api/CmnApiMethods.java
 create mode 100644 VisionITProject/src/test/resources/bdd-config.xml
 create mode 100644 VisionITProject/src/test/resources/config.properties
 create mode 100644 VisionITProject/src/test/resources/extent.properties
 create mode 100644 VisionITProject/src/test/resources/features/api/DeleteRequests.feature
 create mode 100644 VisionITProject/src/test/resources/features/api/GetRequests.feature
 create mode 100644 VisionITProject/src/test/resources/features/api/OptionsRequests.feature
 create mode 100644 VisionITProject/src/test/resources/features/api/PatchRequests.feature
 create mode 100644 VisionITProject/src/test/resources/features/api/PostRequests.feature
 create mode 100644 VisionITProject/src/test/resources/features/api/PutRequests.feature
 create mode 100644 VisionITProject/src/test/resources/features/ui/Search.feature
 create mode 100644 VisionITProject/src/test/resources/html-config.xml

Administrator@Lenovo MINGW64 /bin/assignmentsTracker/assignments-tracker
$ git push
Enumerating objects: 53, done.
Counting objects: 100% (53/53), done.
Delta compression using up to 4 threads
Compressing objects: 100% (45/45), done.
Writing objects: 100% (52/52), 15.30 KiB | 921.00 KiB/s, done.
Total 52 (delta 9), reused 0 (delta 0)
remote: Resolving deltas: 100% (9/9), completed with 1 local object.
To https://github.com/VisionITTesting/assignments-tracker.git
   6cbebd6..bccce05  RahulB -> RahulB

Administrator@Lenovo MINGW64 /bin/assignmentsTracker/assignments-tracker
$

No comments:

Post a Comment