Forum Discussion

huurm900's avatar
huurm900
Occasional Contributor
5 years ago
Solved

Ready API push to Folder in GIT

I want to upload my Ready API files to GIT. This works fine.


But now it uploads everyting to the Root. Which is also oke but i want it all files in a directory

 

like 

Api-testcases.

 

Is that an option with the GIT plugin?

Because if I use HTTP I can add the /Api-testcases/  to the URL but then I can not select a branch

  • Have you installed git in your machine too?
    If you have difficulty with the tool to check all the files in a directory, you may push the changes from git command line utility easily.

4 Replies

  • SiKing's avatar
    SiKing
    Community Expert

    As nmrao said: you are better off using git from command-line. ReadyAPI is horribly bad at modifying the entire project even when you make no changes. So if you are careful you can be little more selctive about what you upload to git.

    • sonya_m's avatar
      sonya_m
      SmartBear Alumni (Retired)

      Thank you nmrao, SiKing! 

      Hi huurm900  did you try using command line for pushing changes to Git? Did it work for you?  

  • nmrao's avatar
    nmrao
    Champion Level 3
    Have you installed git in your machine too?
    If you have difficulty with the tool to check all the files in a directory, you may push the changes from git command line utility easily.